/**************************\
	name: 在途可视页面
	author: gsj
	desc: 基础样式
\**************************/

.map-popover {
    position: absolute;
    z-index: 9;
    top: -280px;
    left: 5px;
    width: 310px;
	font-size: 12px;
	line-height: 17px;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, .2);
    background-color: #fff;
}

.map-popover:before, .map-popover:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -20px;
    z-index: 2;
    width: 0;
    height: 0;
    margin-left: -5px;
    border-width: 10px 8px;
    border-style: solid;
    border-color: #f9f9f9 transparent transparent #f9f9f9;
}

.map-popover:after {
    border-width: 11px 9px;
    bottom: -23px;
    z-index: 1;
    margin-left: -6px;
    border-color: rgba(0, 0, 0, .2) transparent transparent rgba(0, 0, 0, .2);
}

.popover-header {
    border-bottom: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 4px 4px 0 0;
    box-shadow: inset 0 1px 0 #fff;
}
.popover-body{
    height:230px;
}
.popover-header, .popover-body, .popover-footer {
    padding: 5px 10px;
}

.popover-header h5 {
    margin: 0;
}

.popover-close {
    color: #000;
    float: right;
    font-size: 21px;
    font-weight: 500;
    line-height: .8;
    color: #999;
    cursor: pointer;
}

.popover-close:hover {
    color: #f40000;
}

.popover-body table {
    table-layout: fixed;
}

.popover-body table tr th {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
    color: black;
    font-size: 12px;
}

.popover-body table th, .popover-body table td {
    padding: 4px;
    font-weight: 100;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: black;
    font-size: 12px;
}

.popover-body table tr td {
    /*width: 200px;*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /*display: block;*/
    color: black;
    font-size: 12px;
}

.popover-footer {
    border-top: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 0 0 4px 4px;
    box-shadow: inset 0 1px 0 #fff;
}

.popover-footer a {
    display: inline-block;
    margin-right: 8px;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #0087d6;
    cursor: pointer;
}

.popover-body a {
    color: #0087d6;
}



/* 历史轨迹样式 */
.timeline {
    position: absolute;
    width: 67vw;
    width: 900px;
    height: 4vw;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, .8);
    /*right: 12%;*/
    left:50%;
    margin-left:-445px;
    bottom: 1vw;
    box-shadow: 1px 1px 3px 1px #cbcbcb;
}

.timelineControl {
    width: 140px;
    height: 100%;
    float: left
}

.timelinePlay, .timelineSlow, .timelineQuick, .timelinePause {
    float: left;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    opacity: 1
}

.timelinePlay {
    width: 50px;
    /*width:4vw;*/
    background-image: url('~/static/img/monitor-img/play_2x_fa25689.png');
    background-size: 40px 40px
}

.timelinePlay:hover {
    background-image: url('~/static/img/monitor-img/playhover_2x_f591e77.png')
}

.timeClock {
    float: right;
    height: 100%;
    line-height: 4vw;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    opacity: 1;
    width: 90px;
    font-size:12px;
}

.timelinePause {
    width: 50px;
    background-image: url('~/static/img/monitor-img/pause_2x_f2c7329.png');
    background-size: 40px 40px
}

.timelinePause:hover {
    background-image: url('~/static/img/monitor-img/pausehover_2x_8e2341e.png')
}

.timelineSlow {
    width: 35px;
    background-image: url('~/static/img/monitor-img/slow_2x_2d13d8b.png');
    background-size: 28px 28px
}

.timelineSlow:hover {
    background-image: url('~/static/img/monitor-img/slowhover_2x_e9ab905.png')
}

.timelineQuick {
    width: 35px;
    background-image: url('~/static/img/monitor-img/quick_2x_2507c60.png');
    background-size: 28px 28px
}

.timelineQuick:hover {
    background-image: url('~/static/img/monitor-img/quickhover_2x_ee12a70.png')
}

.timelineMain {
    width: 760px;
    float: left;
    height: 100%;
    position: relative;
    cursor: pointer
}

.timelineLabel {
    position: absolute;
    height: 30px;
    width: 44px;
    top: -33px;
    margin-left: -22px;
    z-index: 20
}

.caliperPartA, .caliperPartB {
    position: absolute;
    height: 100%;
    top: 0;
    background-color: rgba(40, 40, 40, .21)
}

.caliperPartA {
    left: 0
}

.caliperPartB {
    right: 0
}

.timelineLabelcontent {
    width: 100%;
    height: 25px;
    background-color: rgba(0, 0, 0, .7);
    border-radius: 2px;
    color: #efefef;
    line-height: 27px;
    text-align: center;
    font-size: 12px
}

.timelineLabelpointer {
    height: 0;
    width: 0;
    border: 6px solid rgba(0, 0, 0, .7);
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    margin-left: 16px
}

.timeHour {
    box-sizing: border-box;
    height: 6px;
    border-bottom: 1px solid #c2c2c4;
    border-top: 1px solid #c2c2c4;
    border-left: 1px solid #a3a3a4;
    width: 30px;
    float: left;
    margin-top: 16px;
    background-color: #c2c2c4
}

.caliperA, .caliperB {
    height: 60px;
    position: absolute;
    width: 20px;
    margin-left: -10px
}

.caliperPointerA, .caliperPointerB {
    height: 0;
    width: 0;
    border: 10px solid #45a1f3;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
    border-left-width: 10px;
    border-right-width: 10px;
    cursor: pointer
}

.caliperPointerA {
    margin-left: -9px;
    border-right-color: #45a1f3
}

.caliperPointerB {
    margin-left: 9px;
    border-left-color: #45a1f3
}

.caliperLine {
    height: 50px;
    width: 2px;
    margin: 0 auto;
    background-color: #45a1f3
}

.caliperA {
    left: 0;
    display: none;
}

.caliperB {
    left: 721px;
    display: none;
}

.timeHourFirst {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px
}

.timeHourFinal {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    border-right: 1px solid #a3a3a4
}

.timeNumber {
    position: absolute;
    height: 15px;
    width: 10px;
    font-size: 11px;
    bottom: 8px;
    color: #222;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.timelineProgress {
    background-image: url('~/static/img/monitor-img/progress_77fdf59.png');
    height: 40px;
    width: 40px;
    position: absolute;
    cursor: pointer;
    top: 0px;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10;
    margin-left: -20px
}

.runPart {
    background-color: #2398ff;
    height: 6px;
    top: 16px;
    position: absolute;
    border: 1px solid #218eef
}